In switch-to-buffer optionally restore window point (Bug#4041).
authormartin rudalics <rudalics@gmx.at>
Wed, 10 Oct 2012 09:36:45 +0000 (11:36 +0200)
committermartin rudalics <rudalics@gmx.at>
Wed, 10 Oct 2012 09:36:45 +0000 (11:36 +0200)
commite56411e3c62c378badf86bed48067bc768c30378
treee0568fcde2890b23a5784af5d0dcef362c277d14
parent612ea6bf7f5ae1dde9b2ebf8d2d57f42a370e7a4
In switch-to-buffer optionally restore window point (Bug#4041).

* window.el (switch-to-buffer-preserve-window-point): New option.
(switch-to-buffer): Obey
`switch-to-buffer-preserve-window-point' (Bug#4041).
lisp/ChangeLog
lisp/window.el